#ifndef QUERYFILEPATHINFO_H_
#define QUERYFILEPATHINFO_H_

#include <string>

#include "QueryFilePathInfo.pb.h"

using namespace std;
class adr_component;

namespace DcAdr
{
    class SoaQueryFilePathInfo
    {
    public:
        static SoaQueryFilePathInfo &getInstance();

        void setPublishHandle(adr_component *component);

        void Get_QueryFilePathInfo(const std::string &topic, const std::string &requestData, std::string &replyData);
        void getPathFileInfo(const std::string &folderPath, std::string &filePathList, std::string &resmsg);

    private:
        SoaQueryFilePathInfo();
        ~SoaQueryFilePathInfo();

        adr_component *m_component{nullptr};
    };
}

#endif //QUERYFILEPATHINFO_H_